#include "TIMER.hpp"
TIM_TimeBaseInitTypeDef TIM_TimeBaseInitStructure;
void Timer_setup::Timer_init()
{
}
void Timer_setup::Timer_TIM_SET(u16 arr, u16 psc)
{
    RCC_APB2PeriphClockCmd(RCC_APB2Periph_TIM1, ENABLE);
    TIM_TimeBaseInitStructure.TIM_Period = arr;
    TIM_TimeBaseInitStructure.TIM_Prescaler = (psc - 1);
}
void Timer_setup::Timer_TIM_NVIC()
{
}